package com.ch.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ch.dao.SmbmsUserDao;
import com.ch.pojo.SmbmsUser;
import com.ch.pojo.SmbmsUserQuery;



@Service
public class SmbmsUserService {
	
	@Autowired
	private SmbmsUserDao smbmsdao;
	
	public List<SmbmsUser> findUser(){
		
		SmbmsUserQuery query = new SmbmsUserQuery();
		List<SmbmsUser> users = smbmsdao.selectByExample(query);
		return users;
	}
	
	
}
